package com.rockcent.message;

import com.rockcent.common.BaseRoutes;
import org.springframework.stereotype.Component;

/**
 * Created by oyhk on 16/7/14.
 * <p>
 * 路由文件
 * <p>
 * 1.规范ID 表明是路径的变量参数: 例如
 * PRODUCT_$ID = "/product/{id}";
 * $ID = {id}
 */
@Component
public class Routes extends BaseRoutes {




    public Routes() throws IllegalAccessException {
        super();
    }

    //版本号
    public static final String API_VERSION = "/v1";

    //内部API前缀
    public static final String API_LOCAL_PREFIX = "/api/local";

    public static final String PUSHMSG_TO_SERVER = "/pushmsg-to-server";

    public static final String SYSMESSAGE_INFO = "/sys_message/info";
    public static final String SYSMESSAGE_PAGE = "/sys_message/page";
    public static final String SYSMESSAGE_READ = "/sys_message/read";
    public static final String SYSMESSAGE_DELETE = "/sys_message/delete";


}
